Woocommerce\Pagarme\Model\Checkout A

Total Complexity 62
Dependencies 17
Dependents 3
Total lines 294
Lines of code 235
Logical lines of code 131
Comment lines 15
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
convertCheckoutObject()
A
44 11 47
extractMulticustomers()
A
49 11 31
process()
A
42 8 51
validateCheckout()
A
54 8 23
__construct()
S
54 5 24
extractOrderValue()
S
65 4 9
formatFieldsWhenIsSubscription()
S
62 3 11
addInstallmentsOnMetaData()
S
65 3 9
getCardId()
S
65 2 9
extractGooglePayToken()
S
71 2 6
addAuthenticationOnMetaData()
S
70 2 6
getTotalValue()
S
72 2 6
getConfig()
S
82 1 3